home *** CD-ROM | disk | FTP | other *** search
- Path: news.kreonet.re.kr!usenet
- From: jwhahn@swine.kaist.ac.kr (Hahn Jung Wook)
- Newsgroups: comp.lang.c++
- Subject: Re: MUST READ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- Date: 9 Feb 1996 07:42:14 GMT
- Organization: Korea Research Environment Open Network (KREONet)
- Message-ID: <4fetsm$7i8@news.kreonet.re.kr>
- References: <4fanr0$a08@cloner3.netcom.com> <guzzDMFEsH.2Gs@netcom.com>
- NNTP-Posting-Host: swine.kaist.ac.kr
- X-Newsreader: knews 0.9.3
-
- In article <guzzDMFEsH.2Gs@netcom.com>,
- guzz@netcom.com (Adam Gensler) writes:
- >On 7 Feb 1996 17:34:24 GMT, jeremyx@ix.netcom.com(Jeremy Johnston ) wrote:
- >
- >> o.k. here is the Deal: I want to know the Quickest and most easy way
- >>to switch into VGA mode and open a graphic file and print it on the
- >>screen in C language, I need details and specific instructions and
- >>PLEASE HELP ME! I AM VERY STUPID AND I NEED HELP!
- >
- > You're not stupid, you just need to know where to look. If there is a
- >bookstore around where you live, I'd say go in one and browse around the books
- >on programming games. Maybe something like "Bit-Mapped Graphics" or
- >"Supercharged Bitmapped Graphics" (I forget if those are the right names or
- >not) are books you should look for.
- >
-
-
- Yeah You're not STUPID it's just that you've no experience...
-
-
- I guess you're talking PC MSDOS ...
- then find out how to change into the appropriate VGA mode
- I think there are functions like int86 in Turbo C to do it ....
- then you can access the vga memory .... directly ... now
- that would be the fastest way ....
-
- the VGA memory starts at 0xA00000000 ( I'm not sure of the exact number of 0s)
- It's probably a bitmap ( 8bits per pixel) so
- all you gotta do is make line, circle, filled rectangles... plotting functions
-
- etc... look into the Breshnehens Algorithm ....
-
- You are not STUPID...
- --
- *********************************************************************`|/'`*****
- Elm: jwhahn@cair.kaist.ac.kr `_ _ "`
- ####### Office: $$ @`
- ### ######### TaeJun, Yu-Sung Ku, Ku Sung Dong / |
- ### ### XXX XXX K.A.I.S.T I/M Department |-'. `-=-
- <*#* = - = - = - - - - - - - - - *==###' -=^`-'@/ `. \
- ### ### XXX XXX Applied Database Labratories `D}`--=\SUPER { )
- XXXXXXXXX XXX 042) 869-2959 /`MAN' { }
- XXXXXXX Home: / |====|( ]
- . . . . . Seoul, Kang Nam Ku, Dae Chi Dong | /_/\`\o))
- K/ A/ I/ S/ T/ Sunkyung Apt, 2-106 / || || |
- 02) 553-2868 012) 223-2868 `ooo, ooo)`\
- *******************************************************************************
- The trouble with superheros is what to do between phone booths. - Ken Kesey
-
-